

import React from 'react'
import useScreenAdapt from './hooks/useScaleAdapt'
import {routes} from './router'
import {createBrowserRouter,RouterProvider} from 'react-router-dom'
function App() {
  useScreenAdapt()
  return (
      //显示一级路由
      <RouterProvider router={createBrowserRouter(routes)}></RouterProvider>
    
  )
}

export default App

